package com.zhijiaoyun.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhijiaoyun.dao.INewsViewDao;
import com.zhijiaoyun.model.NewsView;
import com.zhijiaoyun.service.INewsViewService;

/**
 * @author shisfish
 * @date 2017/6/6
 */
@Service(value = "newsViewService")
public class NewsViewServiceImpl implements INewsViewService {

	@Resource
	INewsViewDao newsViewDao;
	
	@Override
	public void addNewsView(NewsView view) {
		newsViewDao.insert(view);
	}

}
